package com.example.jucdemo.waitnotify.dmeo1;

/**
 * @Author by KoVaVo
 * @Date 2023-05-20 18:57
 * @Desc:
 */
public class Code_05_Test {

    public static void main(String[] args) throws InterruptedException {
        Code_02_MyService service = new Code_02_MyService();
        Code_03_MyThreadA threadA = new Code_03_MyThreadA(service);

        threadA.start();
        Thread.sleep(3000);
        Code_04_MyThreadB threadB = new Code_04_MyThreadB(service);

        threadB.start();
    }
}
